package com.erbao.io.netty.refactor.service.impl;

import com.erbao.io.netty.Person;
import com.erbao.io.netty.refactor.service.Car;

/**
 * @author CaoBaoYin
 * @since 23/4/10 11:14
 */
public class MyCar implements Car {

    @Override
    public String xxoo(String msg) {
        System.out.println("car 接受到了：".concat(msg));
        return "car 已经处理了：".concat(msg);
    }

    @Override
    public Person oxox(String name, Integer age) {
        System.out.println("car 接收到了：name:"+name+",age:"+age);
        return new Person(name, age);
    }
}
